package cn.cqie.frame.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 评价指标
 * </p>
 *
 * @author XYHL
 * @since 2021-10-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="EvaluateTarget对象", description="评价指标")
public class EvaluateTarget implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "Id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "指标名称")
    private String name;

    @ApiModelProperty(value = "排序码")
    @TableField("sortCode")
    private Integer sortCode;

    @ApiModelProperty(value = "权重")
    private BigDecimal weight;

    @ApiModelProperty(value = "上级指标Id")
    @TableField("parentId")
    private Long parentId;

    @ApiModelProperty(value = "评价类型Id")
    @TableField("evaluateTypeId")
    private Long evaluateTypeId;


}
